//
//  CSDNUser.h
//  CsdnPlus
//
//  Created by 孟瑞瑞 on 2018/5/26.
//  Copyright © 2018年 CSDN. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CSDNUser : NSObject

+ (instancetype)currentUser;

@property (nonatomic, copy) NSString *username;

@property (nonatomic, copy) NSString *nickname;

@property (nonatomic, copy) NSString *sessionId;

@property (nonatomic, copy) NSString *avatarUrl;

@property (nonatomic, strong) NSDate *expireTime;

@property (nonatomic, copy) NSString *userId;

@property (nonatomic, copy) NSString *userInfo;

@property (nonatomic, copy) NSString *tgc;

@property (nonatomic, copy) NSString *mobile;

@property (nonatomic, copy) NSString *email;

@property (nonatomic, copy) NSString *selfdesc;
@property (nonatomic, copy) NSString *realName;

@property (nonatomic, copy) NSString *school;

@property (nonatomic, copy) NSString *company;
@property (nonatomic, strong) NSNumber *gender;

@property (nonatomic, copy) NSString *IMToken; // 云信token



- (void)save;

- (void)reset;

@end
